projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47acf79
)
Fix coordinates reported from gdk_window_get_pointer (had sign reversed)
author
Alexander Larsson
<alexl@redhat.com>
Thu, 4 Dec 2008 14:46:09 +0000
(15:46 +0100)
committer
Alexander Larsson
<alex@localhost.localdomain>
Thu, 2 Apr 2009 08:14:06 +0000
(10:14 +0200)
gdk/gdkdisplay.c
patch
|
blob
|
history
diff --git
a/gdk/gdkdisplay.c
b/gdk/gdkdisplay.c
index 40efc153d1391fd58a5b817e076634fbb9b53caa..bc515b540bc82ae028645a7790d775d6e7d9db77 100644
(file)
--- a/
gdk/gdkdisplay.c
+++ b/
gdk/gdkdisplay.c
@@
-531,8
+531,8
@@
gdk_window_real_window_get_pointer (GdkDisplay *display,
&tmpx, &tmpy,
mask);
/* We got the coords on the impl, conver to the window */
- tmpx
+
= private->abs_x;
- tmpy
+
= private->abs_y;
+ tmpx
-
= private->abs_x;
+ tmpy
-
= private->abs_y;
if (x)
*x = tmpx;